import json

# import requests
#
# url = "https://test.jinyiyun.com/amo/data/workflow-auditProcessByAuditNo"
# # restful = {'auditNo': 'SP246732697003296768'}
# # headers = {"content-type": "application/json", "restful": json.dumps(restful)}
# headers= {'content-type': 'application/json', 'restful': '{"auditNo": "SP246732697003296768"}'}
# cookie = {
#     "FINANCE-CARPORT-TOKEN": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjEsIm1vYmlsZSI6IjEzMDU4MDE5MzAyIiwiaWF0IjoxNjUwNDQxNjI4LCJleHAiOjE2NTEwNDY0Mjh9.kgxoGqe18WE08D0zeAlzAfV4a8KTtI6lFax9ADdl_V4"}
# print(headers)
# r = requests.get(url, headers=headers, cookies=cookie)
# print(r.json())
import re

str = '{"code":0,"msg":"success"}'

print(json.loads(str)['msg'])
